package com.cet.designpatterns.uml.composition;

import com.cet.designpatterns.uml.aggregation.Keyboard;
import com.cet.designpatterns.uml.aggregation.Monitor;
import com.cet.designpatterns.uml.aggregation.Mouse;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-08-30 17:49
 **/
public class Computer {
    //以下电脑组件都可以与主机分离
    private Mouse mouse = new Mouse();
    private Monitor monitor = new Monitor();
    private Keyboard keyboard = new Keyboard();
}
